﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GalleriaControl.ascx.cs"
    Inherits="Photography.Controls.Galleria.GalleriaControl" %>
<div id="<%=ClientID %>div">
    <asp:Repeater runat="server" ID="rptImages">
        <ItemTemplate>
            <img title="<%# string.IsNullOrEmpty(TitleField) ? "" : DataBinder.Eval(Container.DataItem, TitleField) %>" alt="<%# string.IsNullOrEmpty(DescriptionField) ? "" : DataBinder.Eval(Container.DataItem, DescriptionField)%>"
                src="<%# DataBinder.Eval(Container.DataItem, SourceField) %>" />
        </ItemTemplate>
    </asp:Repeater>
</div>
